﻿namespace AntBot
{
	public class Settings
	{
		public int LoadTime;
		public int TurnTime;
		public int Rows;
		public int Cols;
		public int Turns;
		public int ViewRadius2;
		public int AttackRadius2;
		public int SpawnRadius2;

		public Settings()
		{
		}

		//Constructor for UnitTests
		public Settings(int cols, int rows)
		{
			LoadTime = 100000;
			TurnTime = 100000;
			Rows = rows;
			Cols = cols;
			Turns = 500;
			ViewRadius2 = 93;
			AttackRadius2 = 6;
			SpawnRadius2 = 1;
		}

		public override string ToString()
		{
			return
				"LoadTime: " + LoadTime + "\n" +
				"TurnTime: " + TurnTime + "\n" +
				"Rows: " + Rows + "\n" +
				"Cols: " + Cols + "\n" +
				"Turns: " + Turns + "\n" +
				"ViewRadius2: " + ViewRadius2 + "\n" +
				"AttackRadius2: " + AttackRadius2 + "\n" +
				"SpawnRadius2: " + SpawnRadius2;

		}
	}
}
